<template>
	<van-nav-bar v-show="!isMobile" fixed style="background-color: #ffffff;" :title="$route.meta.title">
		<template #left>
			<div v-show="$route.path!='/home'" @click="$router.back()">
				<van-icon name="arrow-left" size="18" />返回
			</div>
		</template>
		<template #right>
			<div>张三丰</div>
		</template>
	</van-nav-bar>
</template>

<script>
	export default {
		name: "",
		computed: {
			isMobile() {
				if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
					return true;
				} else {
					return false;
				}
			},
		}
	}
</script>

<style>
</style>
